package com.action;

import com.dao.usersDAO;
import com.entity.Users;
import com.myframe.action.BaseAction;
import com.service.userService;

public class userAction extends BaseAction{
	private usersDAO usersDAO;
	private userService userService;
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String username;
	private String password;
	public String checkUser(){
		Users user = new Users();
		user.setUsername(username);
		user.setPassword(password);
		userService.test(user);
		return SUCCESS;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public usersDAO getUsersDAO() {
		return usersDAO;
	}
	public void setUsersDAO(usersDAO usersDAO) {
		this.usersDAO = usersDAO;
	}
	public userService getUserService() {
		return userService;
	}
	public void setUserService(userService userService) {
		this.userService = userService;
	}
}
